import request from '@/utils/request'

// 语言列表
export function apiLanguageLists(params: any) {
    return request.get({ url: '/setting.language/lists', params })
}
// 语言列表
export function apiLanguageAll(params?: any) {
    return request.get({ url: '/setting.language/all', params })
}

// 添加语言
export function apiLanguageAdd(params: any) {
    return request.post({ url: '/setting.language/add', params })
}

// 编辑语言
export function apiLanguageEdit(params: any) {
    return request.post({ url: '/setting.language/edit', params })
}

// 删除语言
export function apiLanguageDelete(params: any) {
    return request.post({ url: '/setting.language/delete', params })
}

// 语言详情
export function apiLanguageDetail(params: any) {
    return request.get({ url: '/setting.language/detail', params })
}
// 状态
export function apiLanguageStatus(params: any) {
    return request.post({ url: '/setting.language/updateStatus', params })
}